package com.cn.lycss.service;

import com.cn.lycss.dao.CompanyDao;
import com.cn.lycss.model.CompanyModel;

import javax.servlet.http.HttpServletRequest;

public class CompanyService {
    CompanyModel companyModel=new CompanyModel();
    CompanyDao companyDao=new CompanyDao();

    public CompanyModel getCompanyModel( ) {
//        CompanyModel companyModel=new CompanyModel();
//        CompanyDao companyDao=new CompanyDao();
        companyModel.setLogo(companyDao.logo);
        companyModel.setPhone(companyDao.phone);
        companyModel.setWarn(companyDao.warn);
        companyModel.setFont(companyDao.font);
        companyModel.setNet(companyDao.net);


        return companyModel;
    }
}
